package com.fhz.day002;

import androidx.databinding.BaseObservable;
import androidx.databinding.Bindable;

/**
 * 时间:2022/3/21
 *
 * @author msfeng
 * 简述: TODO
 */
public class User2 extends BaseObservable {
    private String firstName;
    private String lastName;


    @Bindable
    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
        notifyPropertyChanged(BR.firstName);
    }

    @Bindable
    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
        notifyPropertyChanged(BR.lastName);
    }
}

